<template>
    <div style="margin-top: 50px">
        <el-form :model="value" ref="productRelationForm" label-width="120px" class="form-inner-container" size="small">
            <el-form-item style="text-align: center">
                <el-button size="medium" @click="handlePrev">上一步，填写商品属性</el-button>
                <el-button type="primary" size="medium" @click="handleFinishCommit">完成，提交商品</el-button>
            </el-form-item>
        </el-form>
    </div>
    
</template>

<script>
export default {
    name: "PmsProductRelationDetail",
    props: {
      value: Object,
      isEdit: {
        type: Boolean,
        default: false
      }
    },
    data() {
        return {

        }
    },
    methods: {
        handlePrev() {
            this.$emit('prevStep')
        },
        handleFinishCommit() {
            this.$emit('finishCommit', this.isEdit);
        }
    }
}
</script>